/*
 * @Author: AiLjx
 * @Date: 2022-08-02 21:10:14
 * @LastEditors: AiLjx
 * @LastEditTime: 2022-08-03 12:02:50
 */
// api请求封装
export async function getList() {
    const data = await axios.get(
        "https://netease-cloud-music-api.vercel.app/mv/all"
    );
    return data.data.data;
}

export const getMvUrl = async (id) => {
    const data = await axios.get(
        `https://netease-cloud-music-api.vercel.app/mv/url?id=${id}`
    );
    return data.data.data;
};
